package com.zero.clinic.mapper;

import com.zero.clinic.pojo.Recipe;
import com.zero.clinic.pojo.RecipeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecipeMapper {
    int deleteByPrimaryKey(Long recipeId);

    int insert(Recipe record);

    int insertSelective(Recipe record);

    List<Recipe> selectByExample(RecipeExample example);

    Recipe selectByPrimaryKey(Long recipeId);

    int updateByPrimaryKeySelective(Recipe record);

    int updateByPrimaryKey(Recipe record);

    int deleteByIds(@Param("ids") String[] recipeIds);
}